﻿@model KKU.RBSFPP.Shared.DAC.ProductUnit

@{
    ViewBag.Title = "Delete";
}
@Html.Partial("_AccountManagement")
<h3><span class="label label-success"><span class="glyphicon glyphicon-trash"></span> ลบหน่วยของเก่า</span></h3>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()

<fieldset>
    <legend></legend>

   
    <div class="panel panel-default">
 <div class="panel-heading">ชื่อ</div>
  <div class="panel-body">
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>
  </div>
</div>

     <div class="panel panel-default">
 <div class="panel-heading">รายละเอียด</div>
  <div class="panel-body">
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>
  </div>
</div>

      <div class="panel panel-default">
 <div class="panel-heading">สร้างเมื่อวันที่</div>
  <div class="panel-body">
    <div class="display-field">
        @Html.DisplayFor(model => model.CreateOn)
    </div>
  </div>
</div>

   @* <div class="panel panel-default">
 <div class="panel-heading">ลบเมื่อวันที่</div>
  <div class="panel-body">
    <div class="display-field">
        @Html.DisplayFor(model => model.DeleteOn)
    </div>
  </div>
</div>*@

    <table>
        <th>
            <td>
                <a href=@Url.Action("Index", "ProductUnit") class="btn btn-danger"><span class="glyphicon glyphicon-remove-circle"></span> ยกเลิก</a>
            </td>
            <td>
                <input class="btn btn-success" type="submit" value="ลบ" />
            </td>
        </th>
    </table>

</fieldset>

  
}
